package com.qf.api.blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

/**
 * 文章内容表
 * @TableName t_article_content
 */
@TableName(value ="t_article_content")
@Data
@Builder
public class ArticleContentEntity {
    /**
     * 文章内容id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 文章id
     */
    @TableField(value = "article_id")
    private Long articleId;

    /**
     * 文章正文
     */
    @TableField(value = "content")
    private String content;
}